<?php if ($user) { ?>
    <h1><span></span><?= lang('label_my_account') ?></h1>

    <ul class="breadcrumb">
        <li><a href="<?= base_url() ?>"><?= lang('label_home') ?></a></li>
        <li><?= lang('label_profile') ?></li>
    </ul>

    <div class="page">

        <?php $this->load->view('template/default/user/top') ?>

        <div style="overflow:hidden;">

            <?php $this->load->view('template/default/user/side') ?>

            <div class="profile_page">
                <h2 class="profile_page_title"><?= lang('label_profile') ?> &raquo; <strong><?= lang('label_personal_information') ?></strong></h2>

                <div class="profile_messages">
                    <p><div class="rowinfo1"><b><?= lang('label_name') . ':</b> ' . $user->first_name . ' ' . $user->middle_name . ' ' . $user->last_name ?></div>
                        <div class="rowinfo2"><b><?= lang('label_username') . ':</b> ' . $user->username ?></div>
                        <div class="rowinfo1"><b><?= lang('label_email') . ':</b> ' . $user->email ?></div>
                        <div class="rowinfo2"><b><?= lang('label_password') . ':</b> **********' ?></div>
                        <br /><a class="replya" style="top: 0px; position: relative; right: 0px; left: 432px;" href="<?= base_url('user/edit') ?>"><?= lang('label_edit_profile') ?></a>
                    </p>
                </div>
            </div>
        </div>
    </div>
    <?php
} else {
    show_404();
}
?>


